PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFNumberFormat Class / setPrecision Method
The precision of decimal display when setFractionDisplay method is set to PDFFractionDisplay.DECIMAL.
In This Topic
    setPrecision Method
    In This Topic
    Sets the precision.
    The value must be a power of 10 (10, 100, 1000, 10000, etc).
    . This property has meaning only if this object is the last one in a number format collection.
    Syntax
    public void setPrecision( 
       int precision
    )

    Parameters

    precision
    The precision of decimal display when setFractionDisplay method is set to PDFFractionDisplay.DECIMAL.
    Exceptions
    ExceptionDescription
    When precision is not a multiple of 10.
    See Also